﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SCMS.UI.Models
{
    public class MBCategoryModel
    {
        public SCMS.Model.MasterBudgetCategory EntityMBCategory { get; set; }

        public Guid Id { get; set; }
        [Required(ErrorMessage = "Category Number is required")]
        public string Number { get; set; }

        [Required(ErrorMessage = "Category Description is required")]
        [StringLength(255, MinimumLength = 3, ErrorMessage = "Category description must be at least 3 characters long.")]
        public string Description { get; set; }
    }
}